<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<div id="div1" class="div">aaa</div>
<div id="div2" class="div">bbb</div>
<script src="main.js"></script>
</body>
</html>